﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Go-FastDfs管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" />
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

     <link href="~/lib/layui-v2.5.6/layui/css/layui.css" rel="stylesheet" />
    <link href="~/lib/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" />
    <link href="~/css/style.css" rel="stylesheet" />
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header f-header" style="position: relative;" th:fragment="layout_header">
            <ul class="layui-nav layui-layout-left left-nav f-nav">
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" title="收缩菜单" class="f-switch-side-btn f-switch-btn-on">
                        <i class="layui-icon layui-icon-shrink-right"></i>
                    </a>
                    <a href="javascript:;" title="展开菜单" class="f-switch-side-btn f-switch-btn-off" style="display: none;">
                        <i class="layui-icon layui-icon-spread-left"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" class="f-refresh-btn" title="刷新">
                        <i class="layui-icon layui-icon-refresh"></i>
                    </a>
                </li>

                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" class="f-support-btn" title="支持">
                        <i class="layui-icon layui-icon-rmb"></i>
                    </a>
                </li>
            </ul>

            <ul class="layui-nav layui-layout-right header-right f-nav">
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" class="f-screen-full-btn" title="全屏/退出全屏">
                        <i class="layui-icon layui-icon-screen-full f-screen-full-btn-icon"></i>
                        <i class="layui-icon layui-icon-screen-restore f-exit-full-btn-icon"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;">
                        <img src="/images/user.png" class="layui-nav-img">
                        <span text="user.name"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd lay-unselect>
                            <a href="/logout" class="header-right-down-item">退出登录</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
        <div class="layui-side f-side" th:fragment="layout_sider">
            <div class="layui-logo f-logo-text">
                Go-FastDfs 管理
            </div>
            <div class="layui-logo f-logo-img">
                <img src="/images/logo.png">
            </div>
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree f-side-nav" lay-filter="side">
                    <li class="layui-nav-item f-nav-item">
                        <a href="javascript:;" onclick="clickMenu(this)" class="p-menu-item"
                           data-url="/home" id="1" data-icon="fa-home" data-name="控制台">
                            <i class="fa fa-home" aria-hidden="true"></i>
                            <span class="f-nav-content">控制台</span>
                        </a>
                    </li>
                    <li class="layui-nav-item f-nav-item">
                        <a class="" href="javascript:;">
                            <i class="fa fa-files-o" aria-hidden="true"></i>
                            <span class="f-nav-content">文件管理</span>
                        </a>
                        <dl class="layui-nav-child">
                            <dd class="f-child-side">
                                <a href="javascript:;" class="p-menu-item"
                                   data-url="/Filetdo/upload" id="2" data-icon="fa-cloud-upload"
                                   data-name="文件上传"
                                   onclick="clickMenu(this);">
                                    文件上传
                                </a>
                            </dd>
                        </dl>
                        <dl class="layui-nav-child">
                            <dd class="f-child-side">
                                <a href="javascript:;" class="p-menu-item"
                                   data-url="/Filetdo/index" id="3" data-icon="fa-file-o"
                                   data-name="文件列表"
                                   onclick="clickMenu(this);">
                                    文件列表
                                </a>
                            </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item f-nav-item">
                        <a class="" href="javascript:;">
                            <i class="fa fa-server" aria-hidden="true"></i>
                            <span class="f-nav-content">集群管理</span>
                        </a>
                        <dl class="layui-nav-child">
                            <dd class="f-child-side">
                                <a href="javascript:;" class="p-menu-item"
                                   data-url="/Ruovead" id="4" data-icon="fa-server"
                                   data-name="集群列表"
                                   onclick="clickMenu(this);">
                                    集群列表
                                </a>
                            </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item f-nav-item">
                        <a href="https://sjqzhang.github.io/go-fastdfs/#character" class="p-menu-item"
                           data-url="/setting/user" id="6" data-icon="fa-book" data-name="go-fastdfs文档" target="_blank">
                            <i class="fa fa-book" aria-hidden="true"></i>
                            <span class="f-nav-content">go-fastdfs文档</span>
                        </a>
                    </li>

                    <li class="layui-nav-item f-nav-item">
                        <a href="javascript:;" onclick="clickMenu(this)" class="p-menu-item"
                           data-url="/setting/user" id="5" data-icon="fa-sliders" data-name="系统设置">
                            <i class="fa fa-sliders" aria-hidden="true"></i>
                            <span class="f-nav-content">系统设置</span>
                        </a>
                    </li>

                </ul>
            </div>
        </div>
        <!-- 内容start -->
        <div class="layui-body">
            <div class="layui-tab" lay-allowClose="true" lay-filter="tabNav">
                <ul class="layui-tab-title content-tab-title">
                    <li class="layui-this" lay-id="1"><i class='fa fa-home' style='font-size: 16px;'></i></li>
                </ul>
                <div class="layui-tab-content f-tab-content">
                    <div class="layui-tab-item layui-show">
                        <!-- 内容主体区域 -->
                        <iframe src="/Home/index" scrolling='auto' width='100%' height='100%' frameborder='0'
                                allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'
                                class='f-ifram'>
                        </iframe>
                    </div>
                </div>
            </div>
        </div>
        <!-- 内容ned -->
    </div>
    <script src="~/lib/jquery/jquery-3.5.1.min.js"></script>
    <script src="~/lib/layui-v2.5.6/layui/layui.all.js"></script>
    <script src="~/js/main.js"></script>
</body>
</html>